micro_utils.dokka
0.14.1
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.repos
/
[jvm]SimpleMapperRepo
/
SimpleMapperRepo
Simple
Mapper
Repo
jvm
fun
<
FromKey
,
FromValue
,
ToKey
,
ToValue
>
SimpleMapperRepo
(
keyFromToTo
:
suspend
FromKey
.
(
)
->
ToKey
,
valueFromToTo
:
suspend
FromValue
.
(
)
->
ToValue
,
keyToToFrom
:
suspend
ToKey
.
(
)
->
FromKey
,
valueToToFrom
:
suspend
ToValue
.
(
)
->
FromValue
)